/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.farmcode.web.generator.propery;

import com.farmcode.console.api.business.PropertyManager;
import com.farmcode.console.api.model.Property;
import com.farmcode.web.generator.BaseCodeGenerator;
import javax.ejb.EJB;

/**
 *
 * @author Oscar Ivan Prado
 */
public class BaseProperty extends BaseCodeGenerator {
    
    @EJB
    protected PropertyManager propertyManager;
    
    public void onStore(Property property){
        propertyManager.store(property);
    }
    
    
    public void refresh(){
        
    }
}
